package com.sardine.base.hbase;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 上海京东到家元信信息技术有限公司<br>
 * Created with IntelliJ IDEA.
 * Date:2017/11/21
 * Time:11:29
 * hbase 配置
 * @author daifeng<br>
 *         daifeng@imdada.cn
 * @since JDK 1.7 <br>
 * Copyright (c) 2017 imdada System Incorporated All Rights Reserved.
 */
public class HBaseConfiguration {
    private static final Logger logger = LoggerFactory.getLogger(HBaseConfiguration.class);
    /**
     * hbase 数据源
     */
    private HDataSource dataSource;

    public HDataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(HDataSource dataSource) {
        this.dataSource = dataSource;
    }

    public HConfiguration getConfg() {
        return dataSource.getConfig();
    }

}
